﻿@using Microsoft.Web.Mvc
@model TeamCityMonitor.Models.HeroStory

@{
    ViewBag.Title = "Details";
    Layout = "../Admin/Layout.cshtml";
}

<h2 class="center">Hero Stories</h2>

<fieldset>
    <legend>HeroStory</legend>
    
    <div class="display">
        <div class="titleDisplay">
            @Html.DisplayFor(model => model.Title)
        </div>
    
        <div class="heroDisplay">
            @Html.Image("../../Content/userpictures/empty-profile.jpg", "")
        </div>

        <div class="footerDisplay">
            @Html.DisplayFor(model => model.Text)
        </div>
    </div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ID }) |
    @Html.ActionLink("Back to List", "Index")
</p>
